package com.edu.entity;

public class Driver {
	private int dId;//驾驶员id
	private String dJob; //驾驶员工号
	private String dName;//驾驶员姓名
	private int dNum;//驾驶证号
	private String dSex;//驾驶员性别
	private int dCarTime;//驾驶员驾龄
	private String dPhone;//驾驶员联系方式
	

	@Override
	public String toString() {
		return "Driver [dId=" + dId + ", dJob=" + dJob + ", dName=" + dName + ", dNum=" + dNum + ", dSex=" + dSex
				+ ", dCarTime=" + dCarTime + ", dPhone=" + dPhone + "]";
	}
	
	public Driver(String dJob, String dName) {
		super();
		this.dJob = dJob;
		this.dName = dName;
	}
	
	public Driver() {
		super();
	}
	
	public Driver(String dJob, String dName, int dNum, String dSex, int dCarTime, String dPhone) {
		super();
		this.dJob = dJob;
		this.dName = dName;
		this.dNum = dNum;
		this.dSex = dSex;
		this.dCarTime = dCarTime;
		this.dPhone = dPhone;
	}

	public Driver(int dId, String dJob, String dName, int dNum, String dSex, int dCarTime, String dPhone) {
		super();
		this.dId = dId;
		this.dJob = dJob;
		this.dName = dName;
		this.dNum = dNum;
		this.dSex = dSex;
		this.dCarTime = dCarTime;
		this.dPhone = dPhone;
	}
	
	public int getdId() {
		return dId;
	}
	public void setdId(int dId) {
		this.dId = dId;
	}
	public String getdJob() {
		return dJob;
	}
	public void setdJob(String dJob) {
		this.dJob = dJob;
	}
	public String getdName() {
		return dName;
	}
	public void setdName(String dName) {
		this.dName = dName;
	}
	public int getdNum() {
		return dNum;
	}
	public void setdNum(int dNum) {
		this.dNum = dNum;
	}
	public String getdSex() {
		return dSex;
	}
	public void setdSex(String dSex) {
		this.dSex = dSex;
	}
	public int getdCarTime() {
		return dCarTime;
	}
	public void setdCarTime(int dCarTime) {
		this.dCarTime = dCarTime;
	}
	public String getdPhone() {
		return dPhone;
	}
	public void setdPhone(String dPhone) {
		this.dPhone = dPhone;
	}
	
	
}
